<template>
  <el-form-item :label="$t('designer.setting.tableHeight')">
    <el-input type="text" v-model="thisOptionModel.tableHeight" @input="inputNumberHandler"
              min="0" class="hide-spin-button">
		<template v-slot:append="">px</template>
	</el-input>
	  <div class="el-form-item-msg">空则为height:'auto'</div>
  </el-form-item>
</template>

<script>
  import propertyMixin from "@/components/designer/form-designer/setting-panel/property-editor/propertyMixin"

  export default {
    name: "table-Width-editor",
    mixins: [propertyMixin],
    props: {
      designer: Object,
      selectedWidget: Object,
      optionModel: Object,
    },
	  data(){
		  return {
			  thisOptionModel:this.optionModel
		  }
	  },
	  watch: {
		  'optionModel': {
			  handler(val) {
				  if (val) {
					  this.thisOptionModel = val
				  }
			  }
		  },
	  },
  }
</script>

<style scoped>

</style>
